<include file="top" />

<div id="right">
	<h3>修改文章</h3>
	<form method="post" enctype="multipart/form-data">
			<table width="100%" border="0" class="table">
				<tr>
					<td width="16%" >*所属栏目：</td>
					<td width="84%">
						<select name="pid">
							<option value="0">请选择</option>
							<volist id="vo" name="article['cate_data']">
								<option value="<{$vo.id}>" <if condition="$article['pid'] eq $vo['id']">selected="selected"</if>><{$vo.big_category_name}></option>
							</volist>

						</select>
						<input type="hidden" value="<{$article.id}>" name="article_id">
					</td>
				</tr>
				<tr>
					<td width="16%" >*所属分类：</td>
					<td width="84%">
						<select name="cid">
						<option value="0">请选择</option>
							<volist name="article.ac_data" id="cate">
								<option value="<{$cate.id}>" <if condition="$article['cid'] eq $cate['id']">selected="selected"</if>><{$cate.big_category_name}>--<{$cate.classify_name}></option>
							</volist>

						</select>
					</td>
				</tr>
				<tr>
					<td width="16%" >*标题：</td>
					<td width="84%"><input class="w350"  type="text" name="title" value="<{$article.title}>"></td>
				</tr>
				<tr>
					<td width="16%" >副标题：</td>
					<td width="84%"><input class="w350"  type="text" name="sec_title" value="<{$article.sec_title}>"></td>
				</tr>
				<tr>
					<td width="16%" >原作者图片：</td>
					<td width="84%"><img src="__PUBLIC__/upload/<{$article.author_img}>"></td>
				</tr>
				<tr>
					<td width="16%" >更改作者图片：</td>
					<td width="84%"><input type="file" name="author_img" value="<{$article.author_img}>"></td>
				</tr>
				<tr>
					<td width="16%" >作者相关描述：</td>
					<td width="84%"><textarea id="author_des" name="author_des" style="width:800px;height:200px;"><{$article.author_des}></textarea></td>
				</tr>
				<tr>
					<td width="16%" >seo_title：</td>
					<td width="84%"><input class="w350" type="text" name="web_title" value="<{$article.web_title}>"></td>
				</tr>
				<tr>
					<td width="16%" >seo关键字：</td>
					<td width="84%"><input class="w350" type="text" name="keyword"  value="<{$article.keyword}>"></td>
				</tr>
				<tr>
					<td width="16%" >搜索关键字：</td>
					<td width="84%"><input class="w350" type="text" name="search_word" value="<{$article.search_word}>"></td>
				</tr>
				<tr>
					<td width="16%" >修改静态化名字：</td>
					<td width="84%"><input class="w350"  type="text" name="statice_name"  value="<{$article.statice_name}>"></td>
				</tr>
				<tr>
					<td width="16%" >文章位置：</td>
					<td width="84%">
						<input type="radio" value="0" <if condition="$article['article_position'] eq 0">checked="checked"</if> name="article_position">右边 
						<input type="radio" value="1" <if condition="$article['article_position'] eq 1">checked="checked"</if>  name="article_position">左边
					</td>
				</tr>
				<tr>
					<td width="16%" >排序：</td>
					<td width="84%"><input class="w350"  type="text" name="sort"  value="<{$article.sort}>"></td>
				</tr>
				<!--
				<tr>
				<td width="16%" >原缩略图：</td>
				<td width="84%"><img src="__PUBLIC__/upload/s_<{$article.article_img}>"></td>
				</tr>
				<tr>
					<td width="16%" >缩略图：</td>
					<td width="84%">
						<input type="file" name="t_img">宽<input type="text" value="" name="width">
						高<input type="text" value="" name="height">（不填采用系统默认）
					</td>
				</tr>
				-->
				<tr>
				<td width="16%" >for windows or mac：</td>
				<td width="84%">
					<input type="radio" value="1" <if condition="$article.pc eq 1">checked="checked"</if> name="pc">for windows
					<input type="radio" value="2" <if condition="$article.pc eq 2">checked="checked"</if> name="pc">for mac
				</td>
			</tr>
			<tr>
				<td width="16%" >for windows or mac外链接：</td>
				<td width="84%">
					<input class="w350" type="text" value="<{$article.out_link}>" name="out_link">
				</td>
			</tr>
			<tr>
				<td width="16%" >外链接标题：</td>
				<td width="84%">
					<input class="w350" type="text" value="<{$article.out_link_title}>" name="out_link_title">
				</td>
			</tr>
			<tr>
				<td width="16%" >is hot：</td>
				<td width="84%">
					<input type="radio" value="1" <if condition="$article['is_hot'] eq 1">checked="checked"</if> name="is_hot">是
					<input type="radio" value="0" <if condition="$article['is_hot'] eq 0">checked="checked"</if> name="is_hot">否
				</td>
			</tr>
			<tr>
				<td width="16%" >是否新增：</td>
				<td width="84%">
					<input type="radio" value="1" <if condition="$article['is_new'] eq 1">checked="checked"</if> name="is_new">是
					<input type="radio" value="0" <if condition="$article['is_new'] eq 0">checked="checked"</if> name="is_new">否
				</td>
			</tr>
			<tr>
				<td width="16%" >在文章页显示：</td>
				<td width="84%">
					<input type="radio" value="1" <if condition="$article['show_in_article'] eq 1">checked="checked"</if> name="show_in_article">是
					<input type="radio" value="0" <if condition="$article['show_in_article'] eq 0">checked="checked"</if> name="show_in_article">否
				</td>
			</tr>
				<tr>
					<td width="16%" >内容简介：</td>
					<td width="84%"><textarea id="introduce" name="introduce" style="width:400px;height:100px;"><{$article.introduce}></textarea></td>
				</tr>
				<tr>
					<td width="16%" >内容：</td>
					<td width="84%"><textarea id="article_content" name="article_content" style="width:800px;height:300px;"><{$article.content}></textarea></td>
				</tr>
				<tr>
					<td width="16%" ></td>
					<td width="84%"><input type="submit" value="提交" name="sub"></td>
				</tr>
				
			</table>
			<script type="text/javascript">
			var editor;
			KindEditor.ready(function(K) {
				editor = K.create('#article_content', {
					allowFileManager : true
				});
			});
			KindEditor.ready(function(K) {
				editor = K.create('#author_des', {
					allowFileManager : true
				});
			});
	</script>
		</form>
		
</div>
</body>